/*
 * ShippingWayAdaptee.java
 * business
 *
 * Created by ChenTao on 2017/2/15.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.bean;

/**
 * ShippingWay转换成Tag的适配器
 * <p>
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/15 17:26
 */
public class ShippingWayAdapter extends ShippingWay implements ITag {

    private boolean enable = true;

    private boolean selected;

    @Override
    public String getId() {
        return super.getFeeId();
    }

    @Override
    public void setId(String id) {
        super.setFeeId(id);
    }

    @Override
    public String getName() {
        return super.getShippingName();
    }

    @Override
    public void setName(String name) {
        super.setShippingName(name);
    }

    @Override
    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    @Override
    public boolean isEnable() {
        return enable;
    }

    @Override
    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    @Override
    public boolean isSelected() {
        return selected;
    }
}
